﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using PolePositionMobileUtilityEntity;

namespace PolePositionMobileUtilityApplication
{
    public class TestEntities
    {
        public TestEntities()
        { }

        public bool Test()
        {
            try
            {
                EClass c = new EClass();
                EClass[] cArray = c.GetAll();

                ECompany co = new ECompany();
                ECompany[] coArray = co.GetAll();

                EInspector i = new EInspector();
                EInspector[] iArray = i.GetAll();

                ELength l = new ELength();
                ELength[] lArray = l.GetAll();

                ENote n = new ENote();
                ENote[] nArray = n.GetAll();

                ESpecie e = new ESpecie();
                ESpecie[] eArray = e.GetAll();

                EToptype t = new EToptype();
                EToptype[] tArray = t.GetAll();

                ETreatment tr = new ETreatment();
                ETreatment[] trArray = tr.GetAll();
                return true;
            }
            catch (Exception ex)
            {
                return false;

                
            }
        }
    }
}
